Update warning message for PR reviewers - #761
Conversation
Now that we have the `apps-infra-tooling` subteam (targeting a more focused subset of our team), better suggest to add that one (which should be automatically added via the CODEOWNER-like GitHub Settings on this repo anyway) rather than suggesting the wider `apps-infrastructure` team
Generated by 🚫 Danger |
|
@iangmaia It seems that Dangermattic's Anyway, seems like a bug needing addressing in Dangermattic, ideally before we merge that PR |
There was a problem hiding this comment.
I don't think this entirely addresses the issue. The confusing part for me was that Danger said no reviewers were assigned even though wordpress-mobile/apps-infra-tooling was already assigned due to being code owners.
One thing I noticed was that I don't always see the code owner reviewer assignment immediately after creating the PR. So, I wonder if the unless github_utils.requested_reviewers? check is happening during that brief time.
Also, I can't help but wonder, does this repo even need the warning if every PR is automatically getting assigned reviewers?
Edit: I saw this comment after I wrote all this 😞
|
Gio here: I landed on this PR and told Claude Code "work on Olivier's comment". This is the result. I haven't verified it myself yet. I'll update this comment once I do. Wanted to add the context in the meantime in case I get sidetracked. @AliSoftware @oguzkocer — it is a real Dangermattic bug, and it's the team part rather than the
Checked against this PR, which still has a pending
Two things that muddied the diagnosis:
Nothing to change on this PR beyond waiting for a Dangermattic release; the message update stands on its own. Posted by Claude Code (Opus 5) on behalf of @mokagio with approval. |
Now that we have the
apps-infra-toolingsubteam (targeting a more focused subset of our team), better suggest to add that one (which should already be automatically added via the CODEOWNERS on this repo in most PRs anyway) rather than suggesting the widerapps-infrastructureteamWhat does it do?
Checklist before requesting a review
bundle exec rubocopto test for code style violations and recommendations.specs/*_spec.rb) if applicable.bundle exec rspecto run the whole test suite and ensure all your tests pass.CHANGELOG.mdfile to describe your changes under the appropriate existing###subsection of the existing## Trunksection.MIGRATION.mdfile to describe how the changes will affect the migration from the previous major version and what the clients will need to change and consider.